package com.quiz.bis.service;

import com.quiz.bis.domain.model.QuestionType;
import com.quiz.common.mybatis.core.page.TableDataInfo;
import com.quiz.common.mybatis.core.page.PageQuery;

import java.util.List;

/**
 * 题目类型服务层接口
 * @author ahuan
 */
public interface IQuestionTypeService {
    TableDataInfo<QuestionType> page(QuestionType questionType, PageQuery page);
    List<QuestionType> list(QuestionType questionType);
    List<QuestionType> selectAll();

    QuestionType getById(Long id);

    boolean save(QuestionType questionType);

    boolean update(QuestionType questionType);

    boolean deleteByIds(Long[] ids);

}